/*
 * @LastEditTime: 2023-04-15 13:29:27
 */
import Axios from "axios";
import { User } from "../Models/User.schema";
import { updataUserDTO, createUserDTO } from "../DTO/User.dto";
import { isExistsforId, isExistsforTitle } from "../hook";

export class UserController {
  constructor(private readonly userModel: typeof User) { }

  async addlike(musicId: string) {
    // 查询该ID是否在收藏列表
    this.userModel.find();
    // 添加该ID到收藏列表

  }
}